<div class="hidebg" id="hidebg"></div>
<div class='navbar'>
    <div class=logo><i><img src="../images/logo-b.png"></i><span style="vertical-align: middle;">远程监控火灾系统</span></div>
    <div class="navbar-list">
        <div class="list-left">
            <ul>
                <li class="active"><a href="adminIndex.php">首页</a></li>
                <li><a href="data_list.php">数据查看</a></li>
                <li><a href="video_list.php">视频查看</a></li>
            </ul>
        </div>
        <div class="list-right">
            <span class="user"><i><img src="../images/admin.png"></i><span style="vertical-align: middle;">管理员【<?php echo $_SESSION['username'];?>】</span></span>
            <a class="pwd" ><i><img src="../images/pwd.png"></i><span style="vertical-align: middle;">修改密码</span></a>
            <span class="exit"><a href="userAction.php?method=logout"><i><img src="../images/exit.png"></i><span style="vertical-align: middle;">退出系统</span></a></span>
        </div> 
    </div>
    <div class="page-pwd">
        <div class="pwd-title">
            <p>修改密码</p>
            <div class='seperate'></div>
        </div>
        <div class="pwd-body">
            <form method="post" name="change">
                <input type="hidden" name="uname" value="<?php echo $_SESSION['username'];?>">
                <div class="userText">
                    <label class="input-tips">账号：</label>
                    <span class="userstyle"><?php echo $_SESSION['username'];?></span>
                </div>
                <div class="pwdText" id="pwdText">
                    <label class="input-tips" for="npwd">新密码：</label>
                    <input type="password" id="npwd" name="npwd" class="inputstyle" onblur=checkNpwd();>
                    <p class="check-tips" id="npwdinfo"></p>
                </div>
                <div class="pwdText" id="pwdText">
                    <label class="input-tips" for="renpwd">确认密码：</label>
                    <input type="password" id="renpwd" name="renpwd" class="inputstyle" onblur=checkRenpwd();>
                    <p class="check-tips" id="renpwdinfo"></p>
                </div>
                <div class="button">
                    <input type="button" value="确 定" class="button_confirm" onclick=checkAll();>
                    <input type="button" value="取 消" class="button_cancel">
                </div>
            </form>
        </div>
    </div>
</div>
